<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" class="main13" component="$UI/system/components/justep/window/window"
  design="device:mobile;" xid="window">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:313px;left:500px;"
    onParamsReceive="modelParamsReceive" onLoad="modelLoad" onunLoad="modelUnLoad"> 
    <div component="$UI/system/components/justep/data/baasData" autoLoad="true"
      xid="productData" queryAction="queryNase_product" saveAction="saveNase_product"
      url="/nase/nase_action" tableName="nase_product" idColumn="fID"> 
      <master xid="default44"/>  
      <column label="ID" name="fID" type="Integer" xid="default45"/>  
      <column label="标题" name="fTitle" type="String" xid="default42"/>  
      <column label="副标题" name="fFtitle" type="String" xid="default41"/>  
      <column label="副内容" name="fCont" type="String" xid="default40"/>  
      <column label="图标" name="fIcon" type="String" xid="default39"/>  
      <column label="详细介绍" name="fText" type="String" xid="default38"/>  
      <column label="产品价格" name="fPrice" type="Integer" xid="default37"/>  
      <column label="产品数量" name="fNumber" type="Integer" xid="default36"/>  
      <column label="新品推荐" name="fNew" type="Integer" xid="default47"/>  
      <column label="销售量" name="fSales" type="Integer" xid="default35"/>  
      <column label="邮费" name="fPostage" type="Integer" xid="default34"/>  
      <column label="图片地址" name="fImgUrl" type="String" xid="default46"/>  
      <column label="链接地址" name="fUrl" type="String" xid="default43"/>
    </div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="conditionData" idColumn="id">
   <column label="id" name="id" type="String" xid="xid1"></column>
   <column label="名称" name="fName" type="String" xid="xid2"></column>
   <column label="状态" name="fState" type="Integer" xid="xid4"></column>
   <data xid="default1">[{&quot;id&quot;:&quot;1&quot;,&quot;fName&quot;:&quot;综合排序&quot;,&quot;fState&quot;:1},{&quot;id&quot;:&quot;2&quot;,&quot;fName&quot;:&quot;价格升序&quot;,&quot;fState&quot;:0},{&quot;id&quot;:&quot;3&quot;,&quot;fName&quot;:&quot;价格降序&quot;,&quot;fState&quot;:0}]</data></div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="discountData" idColumn="id">
   <column label="id" name="id" type="String" xid="xid5"></column>
   <column label="名称" name="fName" type="String" xid="xid11"></column>
   <column label="状态" name="fState" type="Integer" xid="xid14"></column>
   <data xid="default2">[{&quot;id&quot;:&quot;1&quot;,&quot;fName&quot;:&quot;免运费&quot;,&quot;fState&quot;:0},{&quot;id&quot;:&quot;2&quot;,&quot;fName&quot;:&quot;天猫&quot;,&quot;fState&quot;:0},{&quot;id&quot;:&quot;3&quot;,&quot;fName&quot;:&quot;全球购&quot;,&quot;fState&quot;:0},{&quot;id&quot;:&quot;4&quot;,&quot;fName&quot;:&quot;消费者保障&quot;,&quot;fState&quot;:0}]</data></div>
  <div component="$UI/system/components/justep/data/data" autoLoad="true" xid="backData" idColumn="isBack">
   <column label="是否显示" name="isBack" type="String" xid="xid16"></column>
   <data xid="default4">[{&quot;isBack&quot;:&quot;1&quot;}]</data></div></div>  
  <div component="$UI/system/components/justep/popOver/popOver" class="x-popOver"
    xid="sortingPopOver" anchor="sortingBtn" direction="left-bottom" opacity="0.7"
    dismissible="true"> 
    <div class="x-popOver-overlay" xid="div4"/>  
    <div class="x-popOver-content tb-sorting" xid="div11"> 
      <div component="$UI/system/components/justep/list/list" class="x-list"
        bind-click="sortingListClick" xid="conditionList" dataItemAlias="conditionRow" data="conditionData"> 
        <ul class="x-list-template" xid="ul1"> 
          <li class="list-group-item" bind-css="{'current':conditionRow.val('fState')==1}"> 
            <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-xs btn-only-icon pull-right tb-liBtn"
              label="button" icon="icon-checkmark"> 
              <i xid="i4" class="icon-checkmark text-danger"/>  
              <span xid="span29"/> 
            </a>  
            <span bind-text="val(&quot;fName&quot;)"/> 
          </li> 
        </ul> 
      </div> 
    </div> 
  </div>  
  <div component="$UI/system/components/justep/popOver/popOver" class="x-popOver"
    xid="screeningPopOver" direction="right-bottom" opacity="0.7" anchor="listStyleBtn"
    dismissible="true"> 
    <div class="x-popOver-overlay" xid="div4"/>  
    <div class="x-popOver-content tb-sorting"> 
      <div> 
        <div class="list-group-item" xid="div26"> 
          <span class="pull-left" xid="span12">价格区间（元）</span>  
          <input component="$UI/system/components/justep/input/input" class="form-control input-sm pull-left center-block"
            xid="price1" style="width:30%;"/>  
          <span class="pull-left" xid="span25">－</span>  
          <input component="$UI/system/components/justep/input/input" class="form-control input-sm pull-left center-block"
            xid="price2" style="width:30%;"/>  
          <div class="clearfix" xid="div27"/> 
        </div>  
        <div class="list-group-item" xid="div28"> 
          <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-sm btn-only-icon pull-right text-black"
            label="button" icon="icon-ios7-arrow-down" xid="button2"> 
            <i xid="i12" class="icon-ios7-arrow-down"/>  
            <span xid="span35"/> 
          </a>  
          <h5 class="text-black" xid="h54">折扣和服务</h5>  
          <div component="$UI/system/components/justep/list/list" class="x-list tb-typelist text-center"
            data="discountData" bind-click="discountClick" xid="discountList" dataItemAlias="discountRow"> 
            <ul class="x-list-template" xid="ul2" componentname="ul(html)"> 
              <li xid="li2" class="col col-xs-3" componentname="li(html)"> 
                <h5 class="text-black" bind-text="ref('fName')" bind-css="{'current':discountRow.val('fState')==1}"/> 
              </li> 
            </ul> 
          </div>  
          <div class="clearfix" xid="div29"/> 
        </div>  
        <div class="text-center panel-body" xid="div33"> 
          <a component="$UI/system/components/justep/button/button" class="btn btn-default btn-sm tb-resetBtn x-flex1"
            label=" 重 置 " xid="resetBtn" onClick="resetBtnClick"> 
            <i xid="i9"/>  
            <span xid="span31">重 置</span> 
          </a> 
        </div>  
        <a component="$UI/system/components/justep/button/button" class="btn btn-default btn-lg btn-block tb-okBtn"
          label="确认" xid="button3" onClick="screeningBtnClick"> 
          <i xid="i5"/>  
          <span xid="span25" class="text-white">确认</span> 
        </a> 
      </div> 
    </div> 
  </div>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full x-card x-has-iosstatusbar"> 
    <div class="x-panel-top" height="88"> 
      <div component="$UI/system/components/justep/titleBar/titleBar" class="x-titlebar"
        xid="titleBar1" title="列表"> 
        <div class="x-titlebar-left" xid="left1">
          <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-only-icon"
            label="button" xid="button4" icon="linear linear-sad"> 
            <i xid="i6" class="linear linear-sad"/>  
            <span xid="span6"/>
          </a>
        </div>  
        <div class="x-titlebar-title" xid="title1">列表</div>  
        <div class="x-titlebar-right reverse" xid="right1">
          <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-only-icon"
            label="button" xid="button5" icon="linear linear-book" onClick="searchBtnClick"> 
            <i xid="i11" class="linear linear-book"/>  
            <span xid="span10"/>
          </a>
        </div>
      </div>
      <div> 
        <div class="col-xs-10 pull-left tb-nopadding"> 
          <div component="$UI/system/components/justep/button/buttonGroup"
            class="btn-group btn-group-justified" tabbed="true" xid="buttonGroup1"
            style="height:40px;"> 
            <a component="$UI/system/components/justep/button/button" class="btn btn-link"
              label="综合排序" xid="sortingBtn" icon="icon-arrow-down-b" onClick="sortingBtnClick"> 
              <i xid="i13" class="icon-arrow-down-b text-primary"/>  
              <span class="text-primary">综合排序</span> 
            </a>  
            <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-only-label"
              label="销量优先" xid="button1"> 
              <i xid="i1"/>  
              <span xid="span1">销量优先</span> 
            </a>  
            <a component="$UI/system/components/justep/button/button" class="btn btn-link"
              label="筛选" icon="icon-arrow-down-b" xid="screeningBtn" onClick="screeningBtnClick"> 
              <i xid="i8" class="icon-arrow-down-b"/>  
              <span xid="span7">筛选</span> 
            </a> 
          </div> 
        </div>  
        <div class="col-xs-2 pull-left text-center tb-nopadding"> 
          <div component="$UI/system/components/justep/button/buttonGroup"
            class="btn-group btn-group-justified" tabbed="true" xid="buttonGroup2"> 
            <a component="$UI/system/components/justep/button/button" class="btn btn-link btn-only-icon"
              xid="listStyleBtn" icon="glyphicon glyphicon-th-list" onClick="listStyleClick"> 
              <i xid="i2" class="glyphicon glyphicon-th-list"/>  
              <span xid="span2"/> 
            </a> 
          </div> 
        </div> 
      </div> 
    </div>  
    <div xid="content" class="x-panel-content tb-trans"> 
      <div component="$UI/system/components/justep/contents/contents" class="x-contents x-full"
        active="0" xid="pages" onActiveChanged="pagesActiveChanged" wrap="true" swipe="false"
        slidable="false"> 
        <div class="x-contents-content" xid="oneColList"> 
          <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView"
            xid="scrollView1"> 
            <div class="x-content-center x-pull-down container" xid="div5">
   <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i7"></i>
   <span class="x-pull-down-label" xid="span15">下拉刷新...</span></div><div class="x-scroll-content" xid="div6"> 
              <div component="$UI/system/components/justep/list/list" class="x-list"
                xid="list1" data="productData" limit="6" bind-click="listClick"> 
                <ul class="x-list-template" xid="listTemplateUl1"> 
                  <li xid="li1" class="media" style="border-style:groove;border-width:thin;border-color:#00FFFF;padding:0px 0px 0px 0px;"> 
                    <div component="$UI/system/components/justep/row/row" class="x-row"
                      xid="rowl1" style="padding:0px 0px 0px 0px;"> 
                      <div class="x-col x-col-33" xid="col19" style="padding:0px 0px 0px 0px;">
                        <img src="" xid="image7" class="newImg" bind-attr-src=' val("fImgUrl")'/>
                      </div>  
                      <div class="x-col x-col-67" xid="col21" style="padding:0px 0px 0px 0px;">
                        <div component="$UI/system/components/justep/row/row"
                          class="x-row" xid="row7" style="margin-top:12px;padding:0px 0px 0px 0px;"> 
                          <div class="x-col" xid="col3" style="padding:0px 0px 0px 0px;">
                            <h4 xid="h46" class="newh4" bind-text='val("fTitle")'/>
                          </div> 
                        </div>  
                        <div component="$UI/system/components/justep/row/row"
                          class="x-row" xid="row8" style="padding:0px 0px 0px 0px;"> 
                          <div class="x-col" xid="col4" style="padding:0px 0px 0px 0px;">
                            <h5 xid="h54" class="newh5" bind-text='val("fFtitle")'/>
                          </div> 
                        </div>
                      <div component="$UI/system/components/justep/row/row" class="x-row" xid="row2" style="margin-top:0px;">
   <div class="x-col" xid="col7"><span xid="span20" bind-text='val("fPrice") + ".00"' class="pull-right" style="font-size:20px;color:#3399f3;margin-right:25px;"></span></div>
   </div><div component="$UI/system/components/justep/row/row" class="x-row" xid="row1" style="margin-top:-16px;padding:0px 0px 0px 0px;">
   <div class="x-col" xid="col1"><a component="$UI/system/components/justep/button/button" class="btn btn-default btn-xs" label="点击购买" xid="button6" style="float:right;margin-right:20px;">
   
   <span xid="span11" style="margin-right:10px;margin-left:10px;">点击购买</span></a></div>
   </div>
  </div> 
                    </div> 
                  </li> 
                </ul> 
              </div> 
            </div>  
            <div class="x-content-center x-pull-up" xid="div7"> 
              <span class="x-pull-up-label" xid="span16">加载更多...</span> 
            </div> 
          </div> 
        </div>  
        <div class="x-contents-content  x-scroll-view" xid="twoColList"> 
          <div class="x-scroll" component="$UI/system/components/justep/scrollView/scrollView"
            xid="scrollView2"> 
            <div class="x-content-center x-pull-down container" xid="div9"> 
              <i class="x-pull-down-img glyphicon x-icon-pull-down" xid="i3"/>  
              <span class="x-pull-down-label" xid="span5">下拉刷新...</span> 
            </div>  
            <div class="x-scroll-content" xid="div17"> 
              <div class="col-xs-6 tb-twoColList"> 
                <div component="$UI/system/components/justep/list/list" class="x-list x-flex"
                  data="productData" limit="3" filter="$row.index()%2==0" xid="list2"
                  bind-click="listClick" disablePullToRefresh="false" disableInfiniteLoad="false"> 
                  <ul class="x-list-template" xid="ul3"> 
                    <li xid="li4"> 
                      <div xid="div8"> 
                        <img src="" alt="" class="img-responsive" xid="image2" bind-attr-src='$model.getImageUrl(val("fImgUrl"))'/>  
                        <div xid="div19"> 
                          <h5 bind-text="ref('fTitle')" class="text-black"
                            xid="h52"/>  
                          <div xid="div12"> 
                            <span class="text-danger" xid="span3">￥</span>  
                            <span bind-text="ref('fPrice')" class="text-danger"
                              xid="span4"/> 
                          </div>  
                          </div> 
                      </div> 
                    </li> 
                  </ul> 
                </div> 
              </div>  
              <div class="col-xs-6 tb-twoColList"> 
                <div component="$UI/system/components/justep/list/list" class="x-list x-flex"
                  data="productData" limit="3" bind-click="listClick" filter="$row.index()%2==1"
                  xid="list4"> 
                  <ul class="x-list-template" xid="ul4"> 
                    <li xid="li5"> 
                      <div xid="div24"> 
                        <img src="" alt="" bind-attr-src='$model.getImageUrl(val("fImgUrl"))'
                          class="img-responsive" style="width:100%;" xid="image3"/>  
                        <div xid="div25"> 
                          <h5 bind-text="ref('fTitle')" class="text-black"
                            xid="h53"/>  
                          <div xid="div23"> 
                            <span class="text-danger" xid="span23">￥</span>  
                            <span bind-text="ref('fPrice')" class="text-danger"
                              xid="span19"/> 
                          </div>  
                          </div> 
                      </div> 
                    </li> 
                  </ul> 
                </div> 
              </div>  
              <div class="clearfix" xid="div2"/> 
            </div>  
            <div class="x-content-center x-pull-up" xid="div18"> 
              <span class="x-pull-up-label" xid="span8">加载更多...</span> 
            </div> 
          </div> 
        </div> 
      </div> 
    </div> 
  </div> 
<span component="$UI/system/components/justep/windowDialog/windowDialog" xid="windowDialog1" src="$UI/nase/details.w"><result concept="productData" operation="new" origin="productData" xid="default5">
   <mapping from="fID" to="fID" xid="default6"></mapping>
   <mapping from="fTitle" to="fTitle" xid="default7"></mapping>
   <mapping from="fCont" to="fCont" xid="default8"></mapping>
   <mapping from="fText" to="fText" xid="default9"></mapping>
   <mapping from="fPrice" to="fPrice" xid="default10"></mapping>
   <mapping from="fNumber" to="fNumber" xid="default11"></mapping>
   <mapping from="fSales" to="fSales" xid="default12"></mapping>
   <mapping from="fPostage" to="fPostage" xid="default13"></mapping>
   <mapping from="fImgUrl" to="fImgUrl" xid="default14"></mapping></result></span></div>
